// interface A{
//     fn:(arg:string)=>string
// }
// interface B extends A{
//     fn:(arg:number)=>string
// }

interface A{
    fn:(arg:string)=>string
}
interface B{
    fn:(arg:number)=>string
}
type C=A&B

const foo:C["fn"]=(arg)=>arg+""

console.log(foo(11));





